package com.jx.gocomtask.webservice.repository;

import com.jx.gocomtask.webservice.entity.ExtTaskMessage;
import com.jx.gocomtask.webservice.entity.ExtTaskUser;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;


/**
 * Created by LWD on 2017/8/8.
 */
public interface ExtTaskUserRepository extends PagingAndSortingRepository<ExtTaskUser,Long>{


    public Page<ExtTaskUser> findByExtTaskMessage(String messageId, Pageable pageable);

    Page<ExtTaskUser> findAll(Specification<ExtTaskUser> specification, Pageable pageable);
}
